//
//  ICSearchButton.m
//  ICome
//
//  Created by ENN on 16/3/7.
//  Copyright © 2016年 iCom. All rights reserved.
//

#import "ICSearchButton.h"
#import "ICHeaderFile.h"

@implementation ICSearchButton


- (void)setFrame:(CGRect)frame
{
    [super setFrame:frame];
    self.layer.masksToBounds = YES;
    self.layer.cornerRadius = 5.0;
    [self setTitle:@"标题" forState:UIControlStateNormal];
    [self setTitleColor:ICRGB(0x929297) forState:UIControlStateNormal];
    self.titleLabel.font = [UIFont systemFontOfSize:14.0];
    [self setImage:[[UIImage imageNamedFromiComeSDKBundle:@"icon_search"] imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal] forState:UIControlStateNormal];
}

- (void)layoutSubviews
{
    self.imageEdgeInsets = UIEdgeInsetsMake(0, -10, 0, 0);
    [super layoutSubviews];
    
}








@end
